package com.tencent.externalstoragebar.publicthing;

//公共数据类
public class PublicData {

    // 公共数据字段
    public static int x;            //x坐标
    public static int y;            //y坐标
    public static int r;            //外部半径
    public static int rIn;          //内部半径
    public static int color;        //颜色
    public static int alpha;//透明度
    public static boolean isCreate;//是否创建

    //判定系列
    public static int a;//判定区域x坐标
    public static int b;//判定区域y坐标
    public static int c;//判定区域半径

    //时间
    public static int time;

    // 设置公共数据方法
    public static void setData(int x, int y, int r,
                               int rIn, int color, int alpha,
                               int a,int b,int c,
                               int time) {

        PublicData.x = x;
        PublicData.y = y;
        PublicData.r = r;
        PublicData.rIn = rIn;
        PublicData.color = color;
        PublicData.alpha = alpha;

        PublicData.a = a;
        PublicData.b = b;
        PublicData.c = c;

        PublicData.time = time;

    }
}
